package com.jumi.microservice.enumerate;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author wangjingdao
 */

public enum ExamineEnum implements AbstractEnum<Byte> {
    /**
     * 审核
     */
    NO_EXAMINE((byte)0,"不需要审核"),
    YES_EXAMINE((byte)1,"需要审核")
    ;
    private byte code;
    private String msg;

    public void setCode(byte code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    ExamineEnum(byte code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Byte getCode() {
        return this.code;
    }
}
